#include "Window.h"
#include "Runtime/Engine/Application.h"
#include "Runtime/Platform/GenericWindow.h"
#include "SlaveRenderer.h"

namespace Alice
{
    void Window::SetNativeWindow(GenericWindow* InNativeWindow)
    {
        mNativeWindow=InNativeWindow;
    }
    void Window::ShowWindow()
    {
        Application::Get()->mSlaveRenderer->CreateViewport(this);
        mNativeWindow->Show();
    }
    GenericWindow* Window::GetNativeWindow()
    {
        return mNativeWindow;
    }
}
